<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="assetMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>单位管理</title>
<!--  通用情况下 不引入 js css  表单验证  js 放置到页面中 -->
<%-- ui tabs --%>

<script type="text/javascript"
	src="<c:url value='/ext/ui/jquery-ui-1.8.12.custom.min.js'/>"></script>
<link href="${ctx}/styles/lightness/jquery-ui-1.8.12.custom.css"
	rel="stylesheet" />
<script>
	
</script>
</head>
<body>

<table width="200" border="0" cellspacing="0" cellpadding="1">
	<tr>
		<th>单位名称</th>
		<th>主管部门</th>
		<th>单位类型</th>
		<th>成立时间</th>
		<th>操作</th>
	</tr>
	<c:forEach items="${page.result}" var="org">
		<tr>
			<td>${org.orgName }</td>
			<td>${org.burderDep }</td>
			<c:choose>
				<c:when test="${org.type=='1'}">
					<td>建设单位</td>
				</c:when>
				<c:when test="${org.type=='2'}">
					<td>设计单位</td>
				</c:when>
				<c:when test="${org.type=='3'}">
					<td>监理单位</td>
				</c:when>
				<c:when test="${org.type=='4'}">
					<td>施工单位</td>
				</c:when>
				<c:when test="${org.type=='5'}">
					<td>检测单位</td>
				</c:when>
				<c:otherwise>
					<td>集团</td>
				</c:otherwise>
			</c:choose>
			<td>${org.finishDate }</td>
			<td><a href="${ctx}/project/org/organization!input.action?id=${org.id}">查看</a>
			<a href="${ctx}/project/org/organization!delete.action?id=${org.id}">删除</a></td>
		</tr>
	</c:forEach>
</table>


<s:debug></s:debug>
</body>
</html>
